package com.levy.excel;

import java.io.File;
import java.io.FileWriter;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.ss.usermodel.WorkbookFactory;

/**
 * Demonstrates how to read excel styles for cells
 */
public class FindMissing {
	
	
	
	
	public static void main(String[] args) throws Exception {
		String my = "9198670,9198671,9198672,9198673,9198674,9198675,9198676,9198677,9198678,9198679,9198920,9198921,9198922,9198923,9198924,9198925,9198926,9198927,9198928,9198929,9199670,9199671,9199672,9199673,9199674,9199870,9199871,9199872,9199873,9199874,9199875,9199876,9199877,9199878,9190040,9190041,9190042,9190043,9190044,9190045,9190046,9190047,9190048,9190049,9177380,9177381,9177382,9177383,9177384,9177385,9177386,9177387,9177388,9177389,9184549,9184548,9184540,9184529,9184528,9184520,9184519,9184518,9184510,9184509,9199200,9199201,9199202,9199203,9199204,9199205,9199206,9199207,9199208,9199209,9197690,9197691,9197692,9197693,9197694,9197695,9197696,9197697,9197698,9197699,9198330,9198331,9198332,9198333,9198334,9198335,9198336,9198337,9198338,9198339,9198200,9198201,9198202,9198203,9198204,9198205,9198206,9198207,9198208,9198209,9198190,9198191,9198192,9198193,9198194,9198195,9198196,9198197,9198198,9198199,9196190,9196191,9196192,9196193,9196194,9196195,9196196,9196197,9196198,9196199,9191670,9191671,9191672,9191673,9191674,9191675,9191676,9191677,9191678,9191679,9199300,9199301,9199302,9199303,9199304,9199305,9199306,9199307,9199308,9199309,9188790,9188791,9188792,9188793,9188794,9188795,9188796,9188797,9188798,9188799,9197680,9197681,9197682,9197683,9197684,9197685,9197686,9197687,9197688,9197689,91,9188980,9188981,9188982,9188983,9188984,9188985,9188986,9188987,9188988,9188989,9182860,9182861,9182862,9182863,9182864,9182865,9182866,9182867,9182868,9182869";
		String her = "9197680,9197681,9197682,9197683,9197684,9197685,9197686,9197687,9197688,9197689,9188980,9188981,9188982,9188983,9188984,9188985,9188986,9188987,9188988,9188989,9182860,9182861,9182862,9182863,9182864,9182865,9182866,9182867,9182868,9182869,9198670,9198671,9198672,9198673,9198674,9198675,9198676,9198677,9198678,9198679,9198920,9198921,9198922,9198923,9198924,9198925,9198926,9198927,9198928,9198929,9199670,9199671,9199672,9199673,9199674,9199870,9199871,9199872,9199873,9199874,9199875,9199876,9199877,9199878,9190040,9190041,9190042,9190043,9190044,9190045,9190046,9190047,9190048,9190049,9177380,9177381,9177382,9177383,9177384,9177385,9177386,9177387,9177388,9177389,9184549,9184548,9184540,9184529,9184528,9184520,9184519,9184518,9184510,9184509,9199200,9199201,9199202,9199203,9199204,9199205,9199206,9199207,9199208,9199209,9197690,9197691,9197692,9197693,9197694,9197695,9197696,9197697,9197698,9197699,9198330,9198331,9198332,9198333,9198334,9198335,9198336,9198337,9198338,9198339,9198200,9198201,9198202,9198203,9198204,9198205,9198206,9198207,9198208,9198209,9198190,9198191,9198192,9198193,9198194,9198195,9198196,9198197,9198198,9198199,9196190,9196191,9196192,9196193,9196194,9196195,9196196,9196197,9196198,9196199,9191670,9191671,9191672,9191673,9191674,9191675,9191676,9191677,9191678,9191679,9199300,9199301,9199302,9199303,9199304,9199305,9199306,9199307,9199308,9199309,9188790,9188791,9188792,9188793,9188794,9188795,9188796,9188797,9188798,9188799";
		
		String[] mya = my.split(",");
		String[] hera = her.split(",");
		List<String> heral = Arrays.asList(hera);
		
		for (String s : mya){
			if (!heral.contains(s)){
				System.out.println(s);
			}
			
		}
		
		System.out.println("my lengh :" +mya.length +  " her lengh :" + hera.length);
		
	}
	
}